package com.coin.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MemberExample {
    protected String orderByClause;

    protected boolean distinct;

    private String tableId;

    protected List<Criteria> oredCriteria;

    public MemberExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMemberNameIsNull() {
            addCriterion("member_name is null");
            return (Criteria) this;
        }

        public Criteria andMemberNameIsNotNull() {
            addCriterion("member_name is not null");
            return (Criteria) this;
        }

        public Criteria andMemberNameEqualTo(String value) {
            addCriterion("member_name =", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotEqualTo(String value) {
            addCriterion("member_name <>", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameGreaterThan(String value) {
            addCriterion("member_name >", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_name >=", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLessThan(String value) {
            addCriterion("member_name <", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLessThanOrEqualTo(String value) {
            addCriterion("member_name <=", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLike(String value) {
            addCriterion("member_name like", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotLike(String value) {
            addCriterion("member_name not like", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameIn(List<String> values) {
            addCriterion("member_name in", values, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotIn(List<String> values) {
            addCriterion("member_name not in", values, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameBetween(String value1, String value2) {
            addCriterion("member_name between", value1, value2, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotBetween(String value1, String value2) {
            addCriterion("member_name not between", value1, value2, "memberName");
            return (Criteria) this;
        }

        public Criteria andWxNumberIsNull() {
            addCriterion("wx_number is null");
            return (Criteria) this;
        }

        public Criteria andWxNumberIsNotNull() {
            addCriterion("wx_number is not null");
            return (Criteria) this;
        }

        public Criteria andWxNumberEqualTo(String value) {
            addCriterion("wx_number =", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberNotEqualTo(String value) {
            addCriterion("wx_number <>", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberGreaterThan(String value) {
            addCriterion("wx_number >", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberGreaterThanOrEqualTo(String value) {
            addCriterion("wx_number >=", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberLessThan(String value) {
            addCriterion("wx_number <", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberLessThanOrEqualTo(String value) {
            addCriterion("wx_number <=", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberLike(String value) {
            addCriterion("wx_number like", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberNotLike(String value) {
            addCriterion("wx_number not like", value, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberIn(List<String> values) {
            addCriterion("wx_number in", values, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberNotIn(List<String> values) {
            addCriterion("wx_number not in", values, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberBetween(String value1, String value2) {
            addCriterion("wx_number between", value1, value2, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxNumberNotBetween(String value1, String value2) {
            addCriterion("wx_number not between", value1, value2, "wxNumber");
            return (Criteria) this;
        }

        public Criteria andWxStatusIsNull() {
            addCriterion("wx_status is null");
            return (Criteria) this;
        }

        public Criteria andWxStatusIsNotNull() {
            addCriterion("wx_status is not null");
            return (Criteria) this;
        }

        public Criteria andWxStatusEqualTo(Integer value) {
            addCriterion("wx_status =", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusNotEqualTo(Integer value) {
            addCriterion("wx_status <>", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusGreaterThan(Integer value) {
            addCriterion("wx_status >", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("wx_status >=", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusLessThan(Integer value) {
            addCriterion("wx_status <", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusLessThanOrEqualTo(Integer value) {
            addCriterion("wx_status <=", value, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusIn(List<Integer> values) {
            addCriterion("wx_status in", values, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusNotIn(List<Integer> values) {
            addCriterion("wx_status not in", values, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusBetween(Integer value1, Integer value2) {
            addCriterion("wx_status between", value1, value2, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andWxStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("wx_status not between", value1, value2, "wxStatus");
            return (Criteria) this;
        }

        public Criteria andZfbNumberIsNull() {
            addCriterion("zfb_number is null");
            return (Criteria) this;
        }

        public Criteria andZfbNumberIsNotNull() {
            addCriterion("zfb_number is not null");
            return (Criteria) this;
        }

        public Criteria andZfbNumberEqualTo(String value) {
            addCriterion("zfb_number =", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberNotEqualTo(String value) {
            addCriterion("zfb_number <>", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberGreaterThan(String value) {
            addCriterion("zfb_number >", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberGreaterThanOrEqualTo(String value) {
            addCriterion("zfb_number >=", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberLessThan(String value) {
            addCriterion("zfb_number <", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberLessThanOrEqualTo(String value) {
            addCriterion("zfb_number <=", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberLike(String value) {
            addCriterion("zfb_number like", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberNotLike(String value) {
            addCriterion("zfb_number not like", value, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberIn(List<String> values) {
            addCriterion("zfb_number in", values, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberNotIn(List<String> values) {
            addCriterion("zfb_number not in", values, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberBetween(String value1, String value2) {
            addCriterion("zfb_number between", value1, value2, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbNumberNotBetween(String value1, String value2) {
            addCriterion("zfb_number not between", value1, value2, "zfbNumber");
            return (Criteria) this;
        }

        public Criteria andZfbStatusIsNull() {
            addCriterion("zfb_status is null");
            return (Criteria) this;
        }

        public Criteria andZfbStatusIsNotNull() {
            addCriterion("zfb_status is not null");
            return (Criteria) this;
        }

        public Criteria andZfbStatusEqualTo(Integer value) {
            addCriterion("zfb_status =", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusNotEqualTo(Integer value) {
            addCriterion("zfb_status <>", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusGreaterThan(Integer value) {
            addCriterion("zfb_status >", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("zfb_status >=", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusLessThan(Integer value) {
            addCriterion("zfb_status <", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusLessThanOrEqualTo(Integer value) {
            addCriterion("zfb_status <=", value, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusIn(List<Integer> values) {
            addCriterion("zfb_status in", values, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusNotIn(List<Integer> values) {
            addCriterion("zfb_status not in", values, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusBetween(Integer value1, Integer value2) {
            addCriterion("zfb_status between", value1, value2, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andZfbStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("zfb_status not between", value1, value2, "zfbStatus");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}